-- GENERATED SPELL FOR [Professor Dabiri] --


function spell0_20907(pUnit, Event) --6Summon Phase Disruptor,n/a--
pUnit:FullCastSpellOnTarget(35780,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20907', 618, 1)
end

function Sorts_20907(pUnit, Event)
local choix_sorts_20907 = math.random(0, 0)
if choix_sorts_20907 == 0 then
pUnit:RegisterEvent('spell0_20907', 1, 1)
end
end

function mob20907_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20907', math.random(1500, 3000), 1)
end

function mob20907_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20907_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20907_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20907, 1, 'mob20907_Action')
RegisterUnitEvent(20907, 2, 'mob20907_Leave')
RegisterUnitEvent(20907, 3, 'mob20907_Kill')
RegisterUnitEvent(20907, 4, 'mob20907_Die')
